package net.zoneland.knowledge.service;

import java.util.List;

import net.zoneland.knowledge.model.EsQuestion;
import net.zoneland.knowledge.model.QaQueryDto;
import net.zoneland.knowledge.model.SubjectLevel;

/**
 * .
 *
 * @author: bcc
 *     2022/7/7
 */
public interface SubjectLevelService {
    
    List<EsQuestion> queryAll(QaQueryDto qaQueryDto);

    List<SubjectLevel> queryByPath(QaQueryDto qaQueryDto);

    /**
     * 通过层级查询下级科目.
     * @param subjectName 父科目
     * @param category 分类
     * @return
     */
    List<SubjectLevel> queryByLevel(final String subjectName, final String category);

}
